package com.wjc.train.business.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wjc.train.business.req.TrainStationQueryReq;
import com.wjc.train.business.req.TrainStationSaveReq;
import com.wjc.train.business.resp.TrainStationQueryResp;

/**
 * <p>
 * 车站表 服务类
 * </p>
 *
 * @author Guessed
 * @since 2023-08-02
 */
public interface ITrainStationService  {

  /**
     * 保存或修改
     * @param trainstationSaveReq
     */
    void save(TrainStationSaveReq trainstationSaveReq);

    /**
     * 分页查询
     * @param page
     * @param trainstationQueryReq
     * @return
     */
    IPage<TrainStationQueryResp> queryList(IPage<TrainStationQueryResp> page, TrainStationQueryReq trainstationQueryReq);

    /**
     * 删除
     * @param id
     */
    void delete(Long id);


}
